package model.elements;

import model.collisions.CollisionCategory;
import model.elements.attributes.Coordinate2D;
import model.elements.behaviours.WeaponModifier;
import model.elements.states.weapon.BombL2Equipped;
import model.elements.states.weapon.ElementWeaponState;
import model.exceptions.ModelExceptions;

public class BombModifier extends Element2D implements WeaponModifier
{

	public BombModifier(Coordinate2D position) throws ModelExceptions
	{
		super( position );
		m_lifeState.setCategory( CollisionCategory.C_MODIFY_WEAPON );
	}

	@Override
	public ElementWeaponState getNewWeapon()
	{
		return new BombL2Equipped( 3 );
	}

}
